/**
 * Created by XHL on 2022-07-26.
 */

#ifndef MOVE_TEST_GAME_H
#define MOVE_TEST_GAME_H
#pragma once

#include <Environment.h>
#include <Tank.h>
#include <TheMap.h>

namespace entity {

	class Game : public Environment {
	public:
		Game(PInfo &tankA, PInfo &tankB);

		void response() override;

		void start();

	private:
		void associate();

		void game_over();

		static void display(const char *message);

	private:
		Tank *m_pa;

		Tank *m_pb;

		TheMap *m_map;

		bool run_flag;
	};


} // entity

#endif //MOVE_TEST_GAME_H